home *** CD-ROM | disk | FTP | other *** search
/ SGI Developer Toolbox 6.1 / SGI Developer Toolbox 6.1 - Disc 4.iso / src / exampleCode / X / Xserver / README < prev    next >
Encoding:
Text File  |  1994-08-02  |  6.0 KB  |  126 lines

  1.   
  2.                 toolbox/src/exampleCode/X/Xserver dir README
  3.  
  4.  
  5.  
  6.   
  7.    README for Silicon Graphics X server papers and accompanying sample code.
  8.  
  9.   
  10.   
  11.    This directory contains the following:
  12.   
  13.   
  14.    README           This file.
  15.  
  16.   
  17.  
  18.    Makefile         A Makefile to compile the supplied demonstation code.
  19.   
  20.  
  21.  
  22.    3color.ps        PostScript for an article titled "A Three Color Cursor 
  23.             for X" describing how, with SGI hardware supporting
  24.             three color cursors, one can generate such cursors 
  25.             using X.  An explication is given of how to implement 
  26.             the previously undocumented XSGIMiscSetThirdCursorColor 
  27.             routine, which allows the third color of an X cursor to 
  28.             be specified via the use of SGI's proprietary 
  29.             SGI-SUNDRY-NONSTANDARD extension.  This interface is the
  30.             same mechanism used by the IRIS GL's internal cursor
  31.             management routines to implement three color cursors in
  32.             the GL.  OpenGL developers are already aware that X is
  33.             how non-3D rendering tasks are performed.  This means
  34.             OpenGL developers should anticipate using X the generate
  35.             three color cursors.  This mechanism is not part of the
  36.             X standard and is only supported on Silicon Graphics X
  37.             servers.  But it is easy to query if a given X server
  38.             supports it or not so programs can be written to use 
  39.             three color cursors if available.  And if not, programs
  40.             can fall back to use two color cursors for less capable
  41.             X servers.
  42.  
  43.    tulip.c          Sample code for using three-color cursor program which
  44.                     turns the root window cursor into a tulip.
  45.  
  46.  
  47.  
  48.    imp_layers.ps    PostScript for an article titled "A Fully Functional
  49.                     Implementation of Layered Windows" explaining the
  50.                     semantic basis for SGI's current X server support
  51.                     for layered windows.  This paper was presented at the
  52.                     7th Annual X Technical Conference in Boston, Mass.
  53.   
  54.                     ABSTRACT:  Incorporating layered windows into the X 
  55.                     server is a non trivial task, which has been attempted 
  56.                     repeatedly in the past, with varying lack of success.  
  57.                     We present our criteria for the proper behavior of 
  58.                     layered widnows.  We show that the assumptions built 
  59.                     into the DIX windowing code prevent the proper 
  60.                     implementation of layered windows, proving that the 
  61.                     current windowing code is inherently device-dependent.  
  62.                     We propose a restructuring of the sample server, 
  63.                     moving much of the windowing code to DDX.  We show how 
  64.                     the sample windowing model can be extended to clip 
  65.                     layered windows, and what changes are required to other 
  66.                     parts of the server which depend in part on knowledge 
  67.                     of the current window tree.
  68.  
  69.   
  70.  
  71.    prog_layers.ps   PostScript for an article titled "Programming X 
  72.                     Overlay Windows" explaining how to use SGI's 
  73.                     SERVER_OVERLAY_VISUALS convention to portably create 
  74.                     X windows in the overlay planes.
  75.     
  76.                     ABSTRACT:  Overlay planes provide an alternate set of 
  77.                     frame buffer bitplanes which can be preferentially 
  78.                     displayed instead of the normal set of bitplanes.  
  79.                     Overlay planes have been common in high-end graphics 
  80.                     systems for some time.  Recently, work has been done 
  81.                     by Silicon Graphics to integrate overlay plane support 
  82.                     into the X Window System.  A standard convention 
  83.                     proposed and implemented by Silicon Graphics allows X 
  84.                     client writers to create windows in the overlay planes.  
  85.                     This article describes how to write programs to utilize 
  86.                     overlay planes.
  87.   
  88.    XLayerUtil.h/.c  Sample code for routines to portably query overlay 
  89.                     visuals described in the prog_layers.ps article.
  90.  
  91.    layerdemo.c      Sample code demonstrating how to use pure-X overlay 
  92.                     windows to achieve transparency effects.
  93.  
  94.    xlayerinfo.c     Sample code for a program to list a server's visuals 
  95.                     including visual layering information.
  96.   
  97.   
  98.   
  99.    xsgi.ps          PostScript for an article titled "Going Beyond the MIT 
  100.                     Sample Server:  The Silicon Graphics X11 Server" 
  101.                     explaining the enhanced capabilities of SGI's X server.
  102.   
  103.                     ABSTRACT:  The MIT X11 Sample Server is the starting 
  104.                     point for nearly all X11 server implementations.  Most 
  105.                     server vendors add value beyond the sample server.  
  106.                     Silicon Graphics has done extensive work to enhance the
  107.                     performance and functionality of its X server 
  108.                     implementation.  The server supports X across Silicon 
  109.                     Graphics' entire line of high-performance graphics 
  110.                     hardware.  This article describes six important areas 
  111.                     of enhancement made to the Silicon Graphics server:  
  112.                     integration with the IRIS GL graphics library, a high 
  113.                     performance input subsystem, the non-frame buffer 
  114.                     porting layer, support for specific hardware features,
  115.                     the dynamic linking of hardware support, and the 
  116.                     Display PostScript extension.
  117.  
  118.    crosshair.c      Sample code for turning the root window's cursor into 
  119.                     a crosshair cursor.  To return to default root cursor, run 
  120.             
  121. /usr/bin/X11/xsetroot -cursor_name X_cursor -fg red -bg white
  122.  
  123.                     Also, if you run a program like twilight, bgpaste or that 
  124.                     fish background program that tries to totally cover up the 
  125.                     root window, you won't get the crosshair.
  126.